package com.hubusugon.st.test.mapper;

import com.hubusugon.st.test.bean.Person;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PersonMapper {
    List<Person> findPerson();
    void addPerson(@Param("person") Person person);  //@Param("person")表示把一个对象封装成一个person
    void deletePerson(@Param("person") Person person);
    void updatePerson(@Param("person") Person person);
}
